<div class="card signin-card">
	<img alt="" src="<?=$this->baseUrl() . "/public/images/avatar_2x.png"; ?>" class="profile-img">
	<p class="profile-name"></p>
	<form id="gaia_loginform" action="<?=$this->baseUrl().'/index'?>" method="post" novalidate="">
		<label for="username" class="hidden-label">Tên đăng nhập</label>
		<input type="texbox" class="" spellcheck="false" value="<?= $this->user; ?>" placeholder="Tên đăng nhập" name="username" id="username">
		<label for="Passwd" class="hidden-label">Mật khẩu</label>
		<input type="password" class="" placeholder="Mật khẩu" name="Passwd" id="Passwd">
		<input type="submit" value="Đăng nhập" class="rc-button rc-button-submit" name="signIn" id="signIn">
		<!-- <label class="remember">
		  <input type="checkbox" value="1" name="PersistentCookie" id="PersistentCookie">
		  <span>Duy trì đăng nhập</span>
		</label> -->
		<input type="hidden" value="1" name="rmShown">
		<a class="need-help-reverse" href="<?=$this->baseUrl().'/index/forgotpassword'?>" id="link-forgot-passwd">Quên mật khẩu?</a>
	</form>
</div>
<script type="text/javascript">
	$('form#gaia_loginform').submit(function(){
		if($('#username').val() =='' || $('#Passwd').val() == ''){
			return false;
		}
	})
</script>